package com.stmt.stmtdesktop.udp;



public class DeviceEnum {

  public enum DeviceInstruct {
    //投篮开始
    S_START_SHOOT("0001", "投篮开始", "SERVER"),
    //语音播报
    S_VOICE_BROADCAST("0002", "语音播报", "SERVER"),
    S_FINISH_SHOOTING_EARLY("0005", "提前结束投篮", "SERVER"),
    S_ADV_UPDATE("0006", "广告更新", "SERVER"),
    S_CONFIRM_START("0007", "确认开始", "SERVER"),
    S_REMOTE_SHUTDOWN("0008", "远程关机", "SERVER"),
    C_LOGIN("1000", "登录", "CLIENT"),
    C_HEALTH("1001", "心跳包", "CLIENT"),
    C_START_TIMING("1002", "开始计时", "CLIENT"),
    C_SHOOTING_SCORE("1003", "投篮成绩", "CLIENT"),
    C_REBOUND_ADJUSTMENT_TIMEOUT("1004", "篮板调整超时", "CLIENT"),
    C_BASKETBALL_RECYCLING_TIMEOUT("1005", "篮球回收超时", "CLIENT"),
    C_CLIENT_FINISH_SHOOTING_EARLY("1006", "投篮提前结束", "CLIENT"),
    ;

    private final String label;
    private final String code;
    private final String source;

    DeviceInstruct(String code, String label, String source) {
      this.code = code;
      this.label = label;
      this.source = source;
    }

    public String getCode() {
      return code;
    }

    public String getLabel() {
      return label;
    }

    public String getSource() {
      return source;
    }
  }

}
